<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            /* color:
            1、十六进制;*/
            color: coral;
            /*2、预定义的颜色值，颜色的英文*/
            color: aquamarine;
            /*3、rgb 还可以写 百分比*/
            color: rgb(11, 67, 170);
            color: rgb(71, 172, 17);
        }
    </style>
</head>
<body>
    <div class="box">文字</div>
</body>
</html>